package com.yanfan.maintain.domain;

/**
 * @author caijinkang
 * @date 2023年03月10日 11:04
 */
public class InspectionTaskBody {
    /**
     * 计划编号
     *
     * @author caijinkang
     * @date 2023/3/10 11:05
     * @param null
     * @return null
     */
    private Integer id;
    /**
     * 任务编号
     *
     * @author caijinkang
     * @date 2023/3/16 16:19
     * @param null
     * @return null
     */
    private String number;
    /**
     * 类型（1、定期任务，0、临时任务）
     *
     * @author caijinkang
     * @date 2023/3/16 16:21
     * @param null
     * @return null
     */
    private Integer type;
    /**
     * 巡检人
     *
     * @author caijinkang
     * @date 2023/3/16 16:22
     * @param null
     * @return null
     */
    private String name;
    /**
     * 是否有缺陷（1、有缺陷，0、没有缺陷）
     *
     * @author caijinkang
     * @date 2023/3/16 16:22
     * @param null
     * @return null
     */
    private Integer flaw;
    /**
     * 开始时间
     *
     * @author caijinkang
     * @date 2023/3/16 16:31
     * @param null
     * @return null
     */
    private String beginDate;
    /**
     * 结束时间
     *
     * @author caijinkang
     * @date 2023/3/16 16:31
     * @param null
     * @return null
     */
    private String endDate;
    /**
     * 当前页
     *
     * @author caijinkang
     * @date 2023/3/9 15:28
     * @param null
     * @return null
     */
    private Integer currPage;
    /**
     * 当前页条数
     *
     * @author caijinkang
     * @date 2023/3/9 15:29
     * @param null
     * @return null
     */
    private Integer pageSize;

    public InspectionTaskBody() {
    }

    public InspectionTaskBody(Integer id, String number, Integer type, String name, Integer flaw, String beginDate, String endDate, Integer currPage, Integer pageSize) {
        this.id = id;
        this.number = number;
        this.type = type;
        this.name = name;
        this.flaw = flaw;
        this.beginDate = beginDate;
        this.endDate = endDate;
        this.currPage = currPage;
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "InspectionTaskBody{" + "id=" + id + ", number='" + number + '\'' + ", type='" + type + '\'' + ", name='" + name + '\'' + ", flaw=" + flaw + ", beginDate='" + beginDate + '\'' + ", endDate='" + endDate + '\'' + ", currPage=" + currPage + ", pageSize=" + pageSize + '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getFlaw() {
        return flaw;
    }

    public void setFlaw(Integer flaw) {
        this.flaw = flaw;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Integer getCurrPage() {
        return currPage;
    }

    public void setCurrPage(Integer currPage) {
        this.currPage = currPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
